package com.heykui.restfulcrud.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/home")
public class Home {

    @RequestMapping("h1")
    public String index(Model model) {
        model.addAttribute("name", "ddddddddd");
        return "index";
    }
}